From db80d03a0b36e074aeaccb7db54d3256bcc83dd4 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 27 May 2004 21:05:28 +0000 Subject: [PATCH] Update from Mark. --- gpsbabel/intdoc/MPSformat | 68 +++++++++++++++++++++++++++------------ 1 file changed, 48 insertions(+), 20 deletions(-) diff --git a/gpsbabel/intdoc/MPSformat b/gpsbabel/intdoc/MPSformat index 9fc507895..cc1100fa9 100644 --- a/gpsbabel/intdoc/MPSformat +++ b/gpsbabel/intdoc/MPSformat @@ -12,6 +12,9 @@ // Entity names might be long winded but are intended to convey some meaning without explicit/additional comments // Version history +// V2.5 - 2004/01/12 20:49 GMT mrcb.mps.fmt@osps.net +// Updates to record signatures for MapSource V5.3 & 5.4 +// Update to incorporate the sketchiest of subclass details // V2.4 - 2003/10/18 18:42 BST (GMT+1) mrcb.mps.fmt@osps.net // Updates to route formats to include interlink steps (my name for them) // V2.3 - 2003/10/03 17:49 BST (GMT+1) mrcb.mps.fmt@osps.net @@ -46,29 +49,41 @@ ::= "MsRc" - ::= + ::= - ::= "d" + ::= "d" ::= LengthOf() ::= "D" - ::= | | | - | + ::= | + | + | + | + | + | + ::= "d" ::= "g" ::= "h" ::= "i" ::= "i" + ::= "i" + ::= "i" ::= LengthOf() ::= "A" - ::= | | | - | + ::= | + | + | + | + | + | + // Perhaps this is software build number ::= 0x2E 0x01 @@ -76,18 +91,27 @@ ::= 0x9D 0x01 ::= 0xF4 0x01 ::= 0xF4 0x01 + ::= 0xF7 0x01 + ::= 0xF8 0x01 // SQA might be Software Quality Assurance; buell appears in the beta, so is presumably the programmer's id ::= "SQA" | "buell" - ::= | | | - | + ::= | + | + | + | + | + | + ::= "Oct 20 1999" "12:50:03" ::= "Oct 22 2001" "15:45:05" ::= "Mar 7 2003" "15:12:28" ::= "Jun 27 2003" "10:12:10" ::= "Jul 3 2003" "08:35:39" + ::= "Sep 24 2003" "11:44:25" + ::= "Nov 6 2003" "16:01:32" ::= LengthOf() @@ -158,19 +182,20 @@ ::= 2-bytes-unknown - ::= "W" - - - + ::= "W" + + + + -// The first four bytes are probably a Long() -// The first four bytes of the sequence of twelve 0xFFs are either two Word() values or one Long() one -// The two zeros between the FFs are a word value used (at least) when the waypoint is created as part of a route -// The four 0xFFs or four 0x00s are alternatives; 0xFFs if the waypoint is created from scratch in this version of MapSource; -// 0x00s if the waypoint was actually created in V3 of MapSource and the file is saved in this version - ::= {0x00 0x00 0x00 0x00 0xFF {0xFF 0xFF 0xFF 0xFF} | {0x00 0x00 0x00 0x00} 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF - 0x00 0x00 0xFF 0xFF 0xFF 0xFF} +// Values depend on . If class is zero, then +// subclass = 0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF +// (last two octects may be zero depending on whether the waypoint was originally created +// in MapSource V3) +// If class is non-zero, then values are unknown + ::= 18-bytes-unknown + ::= 0xFF 0xFF 0xFF 0xFF // Perhaps the 2 bytes of plus Field-defined-flag plus a Long value ::= 7-bytes-unknown @@ -226,7 +251,10 @@ ::= [] - ::= + ::= + + + ::= empty-if-class-is-zero | 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF // The first zero seems to be a string terminator ::= 0x00 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 -- 2.30.2